/*******************************************************************************
 * Copyright (c) 2002 Boris Pruessmann and others. All rights reserved. This
 * program and the accompanying materials are made available under the terms of
 * the Common Public License v0.5 which accompanies this distribution, and is
 * available at http://www.eclipse.org/legal/cpl-v05.html
 * 
 * Contributors: Boris Pruessmann - Initial implementation.
 ******************************************************************************/
package net.sourceforge.perforce.core.api;

import org.eclipse.core.runtime.IStatus;

/**
 * @version $Revision: 488 $
 * @author <a href="mailto:bpruessmann@users.sourceforge.net">Boris
 *         Pruessmann</a>
 */
public interface ICompositeSubmitResult {
  //----------------------------------------------------------------------------
  // --------- Methods

  /**
   * Retrieves the overall status of the operation.
   * 
   * @return the status of the operation.
   */
  IStatus getStatus();

  /**
   * Retrieves the results of the operation.
   * 
   * @return array of results
   */
  ISubmitResult[] getResult();
}
